#
# Arm SCP/MCP Software
# Copyright (c) 2015-2021, Arm Limited and Contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#

BS_LIB_NAME := framework

BS_LIB_SOURCES += fwk_arch.c
BS_LIB_SOURCES += fwk_dlist.c
BS_LIB_SOURCES += fwk_id.c
BS_LIB_SOURCES += fwk_interrupt.c
BS_LIB_SOURCES += fwk_io.c
BS_LIB_SOURCES += fwk_log.c
BS_LIB_SOURCES += fwk_mm.c
BS_LIB_SOURCES += fwk_module.c
BS_LIB_SOURCES += fwk_ring.c
BS_LIB_SOURCES += fwk_slist.c
BS_LIB_SOURCES += fwk_status.c
BS_LIB_SOURCES += fwk_string.c
BS_LIB_SOURCES += fwk_delayed_resp.c
BS_LIB_SOURCES += fwk_time.c
BS_LIB_SOURCES += fwk_core.c

BS_LIB_SOURCES += assert.c
BS_LIB_SOURCES += stdlib.c

ifeq ($(BUILD_HAS_NOTIFICATION),yes)
    BS_LIB_SOURCES += fwk_notification.c
endif

BS_LIB_INCLUDES += $(FWK_DIR)/include

include $(BS_DIR)/lib.mk
